package com.itheima.Service;

import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService {
    public List<Dept> queryDeptList() throws Exception;

    public void delete(Integer id);

    public void save(Dept dept);

    public Dept getById(Integer id);

    public void update(Dept dept);
}
